home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / ingres04.lzh / source / libq / IIpb_wphys.c < prev    next >
Encoding:
C/C++ Source or Header  |  1985-01-23  |  436 b   |  31 lines

  1. # include    <pipes.h>
  2. # include    <sccs.h>
  3.  
  4. SCCSID(@(#)IIpb_wphys.c    8.1    12/31/84)
  5.  
  6.  
  7. /*
  8. **  PB_WPHYS -- physical write on pipe
  9. **
  10. **    Parameters:
  11. **        ppb -- a pointer to the data area.
  12. **        fd -- the file descriptor.
  13. **
  14. **    Returns:
  15. **        none
  16. **
  17. **    Side Effects:
  18. **        none
  19. */
  20.  
  21. IIpb_wphys(ppb, fd)
  22. register pb_t    *ppb;
  23. register int    fd;
  24. {
  25.     register int    i;
  26.  
  27.     i = write(fd, ppb, PB_IOSIZE);
  28.     if (i != PB_IOSIZE)
  29.         IIsyserr("pb_wphys: write error");
  30. }
  31.